package com.giveu.signature.service;


import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import com.giveu.common.bean.result.Result;
import com.giveu.signature.bean.PdfGenerateRequest;
import com.giveu.signature.bean.PdfGenerateRequest.HtmlRequest;
import com.giveu.signature.bean.PdfGenerateRequest.PdfTextRequest;
import com.giveu.signature.bean.TemplatePdf;

@FeignClient("${giveu.service.signature:giveu-signature-service}")
public interface PdfGenerateService {
	
	String BASE_URL = "signature";
	
	@PostMapping(BASE_URL+"/genPdf")
	public Result<String> genPdf(TemplatePdf req);
	
}
